package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级对象 xzk_Class
 * 
 * @author ruoyi
 * @date 2021-04-01
 */
public class XzkClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private Integer className;

    /**  */
    @Excel(name = "")
    private String classTpye;

    /**  */
    @Excel(name = "")
    private Integer newPersonNum;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date newClass;

    /**  */
    @Excel(name = "")
    private String adviser;

    /**  */
    @Excel(name = "")
    private String teacher;

    public void setClassName(Integer className) 
    {
        this.className = className;
    }

    public Integer getClassName() 
    {
        return className;
    }
    public void setClassTpye(String classTpye) 
    {
        this.classTpye = classTpye;
    }

    public String getClassTpye() 
    {
        return classTpye;
    }
    public void setNewPersonNum(Integer newPersonNum) 
    {
        this.newPersonNum = newPersonNum;
    }

    public Integer getNewPersonNum() 
    {
        return newPersonNum;
    }
    public void setNewClass(Date newClass) 
    {
        this.newClass = newClass;
    }

    public Date getNewClass() 
    {
        return newClass;
    }
    public void setAdviser(String adviser) 
    {
        this.adviser = adviser;
    }

    public String getAdviser() 
    {
        return adviser;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("className", getClassName())
            .append("classTpye", getClassTpye())
            .append("newPersonNum", getNewPersonNum())
            .append("newClass", getNewClass())
            .append("adviser", getAdviser())
            .append("teacher", getTeacher())
            .toString();
    }
}
